package com.yunzhong.appointment.mapper;


import com.yunzhong.appointment.entity.Department;
import com.yunzhong.appointment.entity.Departmenttype;
import com.yunzhong.appointment.util.PageData;

import java.util.List;
import java.util.Map;

public interface DepartmenttypeMapper {
    int deleteByPrimaryKey(String dplId);

    int insert(Departmenttype record);

    int insertSelective(Departmenttype record);

    Departmenttype selectByPrimaryKey(String dplId);

    int updateByPrimaryKeySelective(Departmenttype record);

    int updateByPrimaryKey(Departmenttype record);
    /**
     * 
     * @methodName listDepartmentType
     * @description 查询部门类型
     * @author 石洪刚
     * @time 2017年11月14日 下午10:09:19
     * @param pd
     * @return
     */
	List<Departmenttype> listDepartmentType(PageData pd);

	List<Departmenttype> selectAll();

    List<Map<String,String>> selectByType();

    List<Department> selectById(String id);

}